#define   _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <stdlib.h>
int main()
{
	/*int* p = (int*)malloc(sizeof(int) * 5);*/
	int** arr = (int**)malloc(sizeof(int*) * 3);
	for (int i = 0; i < 3; i++)
	{
		arr[i] = (int*)malloc(sizeof(int) * 5);
	}
	for (int i = 0; i < 3; i++)
	{
		for (int j = 0; j < 5; j++)
		{
			arr[i][j] = 1;
		}
	}
	for (int i = 0; i < 3; i++)
	{
		for (int j = 0; j < 5; j++)
		{
			printf("%d ", arr[i][j]);
		}
		printf("\n");
	}
	return 0;
}